﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.Master" AutoEventWireup="true" CodeBehind="Main.aspx.cs" Inherits="SocialIn.Web.Main" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id="HomeTop">
    <div class="MainLogo"><img alt="" src="/res/img/SocialInLogo.png" usemap="#SocialInLogo" border="0" /></div>
    <map id="SocialInLogo" name="SocialInLogo">
    <area shape="rect" alt="" coords="101,55,142,73" href="Search/VoluntaryActivitySearch.aspx" title="도움을 주고 싶으신 분 클릭" />
    <area shape="rect" alt="" coords="349,75,392,92" href="Search/VolunteerSearch.aspx" title="도움을 받고 싶으신 분 클릭" />
    <area shape="default" nohref="nohref" alt="" />
    </map>
</div>
<div id="Home">
<div class="LeftBlock">
<div title="도와주세요. 게시판 영역" class="EventListTitle"></div>

 <%--A.Seq, A.NgoID, A.Title, A.TalentID, A.Detail, A.WishStartDate, A.WishEndDate
	                            , A.ReceiptStartDate, A.ReceiptEndDate
	                            , A.Place, A.MapX, A.MapY, A.MapPanoramaID, A.MapPan
	                            , A.MapTilt, A.MapZoom, A.Complement, A.PersonInCharge, A.Contact, A.WriteDate 
	                            , B.SUBCATEGORY, B.CODENAME, B.Etc1, B.Etc2, B.Etc3
	                            , C.NgoName   --%>
<asp:Repeater ID="rptHelpList" runat="server">
    <HeaderTemplate>
        <table border="0" cellpadding="4" cellspacing="3" >
    </HeaderTemplate>
    <ItemTemplate>
            <tr>
                <td><img alt='<%# DataBinder.Eval(Container.DataItem, "CODENAME")%>' src='<%# DataBinder.Eval(Container.DataItem, "Etc3").ToString().Replace("~","") %>'  /></td>                
                <td><%# DataBinder.Eval(Container.DataItem, "WishStartDate").ToString().Substring(0, 10)%></td>
                <td><%# DataBinder.Eval(Container.DataItem, "Title")%></td>
          </tr>
    </ItemTemplate>
    <FooterTemplate>        
        </table>
    </FooterTemplate>
</asp:Repeater>

</div>
<div class="RightBlock">
<div title="뉴페이스! 기부자! 게시판 영역" class="NewFaceListTitle"></div>
<br />
<asp:Repeater ID="rptVolunteerList" runat="server">
    <HeaderTemplate>
        <table border="0" cellpadding="4" cellspacing="0" width="200">
   <%--  A.UserID, A.UserName, A.Password, A.Email, A.SelfIntroduction, A.PicturePath, A.JoinVerified, A.Seceded
	                            , C.TalentID, C.CATEGORY, C.SUBCATEGORY, C.CODENAME  --%>
    </HeaderTemplate>
    <ItemTemplate>
            <tr>
                <td width="48"><img alt="" src='<%# DataBinder.Eval(Container.DataItem, "PicturePath").ToString().Replace("~","") %>' class="ProfileImageInList" width="48" height="48"/></td>
                <td valign="top" class="Profile"><strong><%# DataBinder.Eval(Container.DataItem, "UserName") %></strong>님이 가입<span class="DateTime">2010/06/20</span><br />
                <%# DataBinder.Eval(Container.DataItem, "CODENAME")%><img alt="" src="res/img/category/art_s.png" class="CategorySet"/><img alt="" src="res/img/category/art_s.png" class="CategorySet"/></td>
            </tr>
    </ItemTemplate>
    <FooterTemplate>        
        </table>
    </FooterTemplate>
</asp:Repeater>
</div>
<div class="LeftBlock">
<div title="감사합니다. 게시판 영역" class="ThankListTitle"></div>
<br />
<asp:Repeater ID="rptThanksList" runat="server">
    <HeaderTemplate>
        <table cellpadding="4" cellspacing="0" >
        <%--A.Seq, A.HelpRequestID, A.UserID, A.Comment, A.WriteDate, A.Deleted
	                            , B.Seq, B.NgoID, B.Title, B.TalentID, B.Detail, B.WishStartDate, B.WishEndDate
	                            , B.Place, B.PersonInCharge, B.Contact
	                            , C.PersonInChargeID, C.NgoName
	                            , D.CODENAME, D.Etc1, D.Etc2, D.Etc3 --%>
    </HeaderTemplate>
    <ItemTemplate>        
            <tr>
                <td><img alt='<%# DataBinder.Eval(Container.DataItem, "CODENAME")%>' src='<%# DataBinder.Eval(Container.DataItem, "Etc3").ToString().Replace("~","") %>'  /></td>                
                <td><%# DataBinder.Eval(Container.DataItem, "WishStartDate").ToString().Substring(0, 10)%></td>
                <td><%# DataBinder.Eval(Container.DataItem, "Title")%></td>                
            </tr>
    </ItemTemplate>
    <FooterTemplate>
        </table>
    </FooterTemplate>
</asp:Repeater>
</div>
</div>
</asp:Content>
